/**
 * 
 */
package com.xintoucloud.gsv.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import com.xintoucloud.gsv.entity.MenuRole;

/**
 * @author xiang
 *
 */
public interface MenuRoleMapper {
	
	@Select("select * from t_menu_role where role_id=#{role_id}")
	@Results({
		@Result(id= true ,column="id",property="id"),
		@Result(column="role_id",property="role_id"),
		@Result(column="menu_id",property="menu_id"),
		@Result(column="state",property="state")		
	})
	List<MenuRole> listByMenuRolemrid(int role_id);

}
